POV-Ray : Newsgroups : povray.windows : pov editor highlight/rightclick suggestion : Re: pov editor highlight/rightclick suggestion Server Time
2 Jul 2024 23:31:21 EDT (-0400)
  Re: pov editor highlight/rightclick suggestion  
From: Peter Popov
Date: 15 Sep 2002 10:14:59
Message: <a459ou437q5nnljg1t9uh8tbn263d2sk5a@4ax.com>
On 15 Sep 2002 09:48:55 -0400, Marc Champagne <nos### [at] pleasecom>
wrote:

>The right-click options in the povray for windows editor has options for 
>indenting undenting etc... what about an option for
>commenting/uncommenting code.

I've also given this idea some thought and decided not to bother the
Team with it. Why? Because it's just too much work for what it does.
Basically, you can comment a block of code in several ways, and what
happens if there are already comments inside (even worse, you comment
a closing comment)?

The current alt-drag CodeMax functionality pretty much makes the idea
obsolete anyway. Go to the beginning of a road, hold Alt and drag
vertically through the lines you want to comment. Do not select a
block, just drag vertically. The cursor is now, say, 20 lines high -
just tap '/' twice and you have your block commented. Uncommenting is
the same, only this time drag to block-select the // section.

Hope it works for you - it works like a charm for me.

Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.